﻿using LJLib.Net.SPI.Com;
using PhoneUI.Com.Modle;
using System.Collections.Generic;

namespace PhoneUI.Com
{
    public class GetOADemoDetailRequest : ILJRequest<GetOADemoDetailResponse>
    {
        public string token { get; set; }
        public int demoid { get; set; }
        public string GetApiName()
        {
            return "GetOADemoDetail";
        }
    }

    public sealed class GetOADemoDetailResponse : LJResponse
    {
        /// <summary>
        /// 公文标题
        /// </summary>
        public string doctitle { get; set; }
        /// <summary>
        /// 公文内容
        /// </summary>
        public string doccontent { get; set; }
        /// <summary>
        /// 相关数值
        /// </summary>
        public decimal relqty { get; set; }
        /// <summary>
        /// 时限要求
        /// </summary>
        public string timedscrp { get; set; }
        /// <summary>
        /// 特殊要求
        /// </summary>
        public string specialdscrp { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string dscrp { get; set; }
        /// <summary>
        /// 模板流程
        /// </summary>
        public List<OADemoStep> steps;
        /// <summary>
        /// 模板附件
        /// </summary>
        public List<OADemoAnnex> annexes;
        /// <summary>
        /// 自定义XLS字段
        /// </summary>
        public List<XlsItem> items;
    }
}